package cn.golxen.blog.commons.rabbitVo;

import cn.golxen.blog.commons.utils.RabbitMQTemplate;
import cn.golxen.blog.entity.Essay;
import lombok.Data;

@Data
public class AddRedisEssayVo extends RabbitMQTemplate {
    Essay essay;

    public AddRedisEssayVo(Essay essay) {
        super("addRedisEssay","EssayKey");
        this.essay = essay;
    }
}
